And save quite a few C/JS trampolines. Since the thumbnails box may not
have up-to-date properties, call _updateThumbnailParams() right after
showing the thumbnails box.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1845>
return;
this._thumbnails.show();
+ this._updateThumbnailParams();
this._thumbnails.ease_property('expand-fraction', visible ? 1 : 0, {
duration: OverviewControls.SIDE_CONTROLS_ANIMATION_TIME,
mode: Clutter.AnimationMode.EASE_OUT_QUAD,
}
_updateThumbnailParams() {
+ if (!this._thumbnails.visible)
+ return;
+
const { initialState, finalState, progress } =
this._overviewAdjustment.getStateTransitionParams();